import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import orderlist from '@/components/orders/list'
import auth from '@/components/auth/list'
import activty from '@/components/activty/list'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      redirect:'/auth'
    },
    {
      path: '/activty',
      name: 'activty',
      component: activty
    },
    {
      path: '/orders',
      name: 'orderlist',
      component: orderlist
    },
    {
      path: '/auth',
      name: 'auth',
      component: auth
    }
  ],
  linkActiveClass:'mui-active'
})
